package com.wizz.trade.information.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 商标表
 * </p>
 *
 * @author fyftless
 * @since 2023-04-02 04:26:06
 */
@Data
@TableName("trademark")
@AllArgsConstructor
@NoArgsConstructor
public class Trademark implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联品种表id,品种表/商标表：一对多
     */
    @TableField("variety")
    private Integer variety;

    /**
     * 商标名
     */
    @TableField("name")
    private String name;

    /**
     * 代码
     */
    @TableField("code")
    private String code;

    /**
     * 生产国
     */
    @TableField("country")
    private String country;

    /**
     * 产地
     */
    @TableField("place")
    private String place;

    /**
     * 生产厂商
     */
    @TableField("vendor")
    private String vendor;
}
